package com.zx.wangyixinwen.activity;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.VideoView;

import com.zx.wangyixinwen.R;
import com.zx.wangyixinwen.bean.Vodio;

/**
 * Created by dllo on 16/1/21.
 */
public class VodioActivity extends Activity {
    private static Context context;
    private static int pos;
    private static Vodio.VideoListEntity bean;
    private VideoView videoView;

    public static void goToVodio(Context context, Vodio.VideoListEntity bean) {
        VodioActivity.context = context;
        VodioActivity.bean = bean;
        VodioActivity.pos = pos;
        Intent intent = new Intent(context, VodioActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_voido);
        videoView = (VideoView) findViewById(R.id.videoview_activity);

    }
}
